import http from '@/axios/http.ts'

/**
 * 获取除自己外的socket
 * @param {*} p 
 * @returns 
 */
export const getAllSocket = (parmas) => {
    return http.get('/ChatRoom/GetAllSocket',parmas);
}

/**
 * 给指定的socket发信息
 * @param {*} p 
 * @returns 
 */
export const sendSocket = (parmas) => {
    return http.get('/ChatRoom/SendSocket',parmas);
}